Constraint Answer Set Programming Based on HEX-Programs

نویسندگان

  • Alessandro F. De Rosis
  • Thomas Eiter
  • Christoph Redl
  • Francesco Ricca
چکیده

Constraint Answer Set Programming (CASP) is a convenient integration of the Answer Set Programming (ASP) paradigm with constraint programming (CP), which was exploited for a range of applications. HEX-programs are another extension of ASP towards integration of arbitrary external sources through socalled external atoms. In this work, we integrate HEX-programs with CP, which results in a strict generalization of CASP, called constraint HEX-programs. We then present a translation of constraint HEX-programs to (standard) HEX-programs using special external sources for constraint solving. In contrast to native CASP solvers, this not only allows for reusing existing algorithms, but also for combining constraints with other external sources. We further show how to integrate advanced techniques used in CASP solving algorithms; while dedicated solvers are currently faster as not all such techniques have been integrated yet, our experiments show that this significantly improves efficiency and promises that further optimization integrated in future work will yield an efficient yet more general system.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

On Equivalence and Inconsistency of Answer Set Programs with External Sources

HEX-programs extend of answer-set programs (ASP) with external sources. In previous work, notions of equivalence of ASP programs under extensions have been developed. Most well-known are strong equivalence, which is given for programs P and Q if P ∪ R and Q ∪ R have the same answer sets for arbitrary programs R, and uniform equivalence, which is given if this is guaranteed for sets R of facts. ...

متن کامل

Inlining External Sources in Answer Set Programs

HEX-programs are an extension of answer set programming (ASP) towards external sources. To this end, external atoms provide a bidirectional interface between the program and an external source. The traditional evaluation algorithm for HEX-programs is based on guessing truth values of external atoms and verifying them by explicit calls of the external source. The approach was optimized by techni...

متن کامل

Nested HEX-Programs

Answer-Set Programming (ASP) is an established declarative programming paradigm. However, classical ASP lacks subprogram calls as in procedural programming, and access to external computations (like remote procedure calls) in general. The feature is desired for increasing modularity and—assuming proper access in place—(meta-)reasoning over subprogram results. While HEX-programs extend classical...

متن کامل

Lazy-Grounding for Answer Set Programs with External Source Access

HEX-programs enrich the well-known Answer Set Programming (ASP) paradigm. In HEX, problems are solved using nonmonotonic logic programs with bidirectional access to external sources. ASP evaluation is traditionally based on grounding the input program first, but recent advances in lazy-grounding make the latter also interesting for HEX, as the grounding bottleneck of ASP may be avoided. We expl...

متن کامل

Exploiting Partial Assignments for Efficient Evaluation of Answer Set Programs with External Source Access

Answer Set Programming (ASP) is a well-known problem solving approach based on nonmonotonic logic programs and efficient solvers. HEX-programs extend ASP with external atoms for access to arbitrary external information. In this work, we extend the evaluation principles of external atoms to partial assignments, lift nogood learning to this setting, and introduce a variant of nogood minimization....

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2015